﻿define([

], function () {

    var view = Backbone.View.extend({

        _uId: $.uuid(),

        constructor: function (options) {
            this.configure(options || {});
            // ...
            Backbone.View.prototype.constructor.apply(this, arguments);
        },

        configure: function (options) {
            if (this.options) {
                options = _.extend({}, _.result(this, 'options'), options);
            }
            this.options = options;
        }

    });
    return view;
});